package biz.microplus.information.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * 企业数据模型
 */
@Entity
public class EnterpriseBean extends BaseBean {
    // 待审核
    public static final String STATUS_REVIEW_NONE = "0";
    // 审核通过
    public static final String STATUS_REVIEW_PASS = "1";
    // 驳回
    public static final String STATUS_REVIEW_REJECT = "2";

    // 草稿
    public static final String STATUS_DRAFT = "0";
    // 已发布
    public static final String STATUS_PUBLISHED = "1";
    // 已下架
    public static final String STATUS_DISABLED = "2";
    // 违规删除
    public static final String STATUS_VIOLATION = "3";


    /**
     * 标识
     */
    @Id
    private int id;
    /**
     * 名称
     */
    private String name;
    /**
     * 名称（英文）
     */
    private String nameEn;
    /**
     * 曾用名
     */
    private String nameOnceUsed;
    /**
     * 别名
     */
    private String alias;
    /**
     * 统一信用代码
     */
    private String identity;
    /**
     * 行业ID
     */
    private int industryId;
    /**
     * 法人
     */
    private String corporation;
    /**
     * 营业状态
     */
    private int managementStatus;
    /**
     * 成立日期
     */
    private int createdDate;
    /**
     * 注册资金
     */
    private BigDecimal capital;
    /**
     * 实缴资金
     */
    private BigDecimal capitalPaid;
    /**
     * 币种
     */
    private String currency;
    /**
     * 纳税识别号
     */
    private String identityCode;
    /**
     * 注册号
     */
    private String registerNo;
    /**
     * 组织机构ID
     */
    private int organizationId;
    /**
     * 组织机构代码
     */
    private String organizationCode;
    /**
     * 企业类型
     */
    private int typeId;
    /**
     * 核准日期
     */
    private int approvalDate;
    /**
     * 登记机关
     */
    private String agency;
    /**
     * 省份ID
     */
    private int provinceId;
    /**
     * 城市ID
     */
    private int cityId;
    /**
     * 状态
     */
    private String status;
    /**
     * 审核状态
     */
    private String reviewStatus;
    /**
     * 营业起始期限
     */
    private String businessTermBegin;
    /**
     * 营业截止期限
     */
    private String businessTermEnd;
    /**
     * 住所
     */
    private String address;
    /**
     * 经营范围
     */
    private String scope;
    /**
     * 删除时间戳
     */
    private int deletedAt;
    /**
     * 创建时间戳
     */
    private int createdAt;
    /**
     * 更新时间戳
     */
    private int updatedAt;

    /**
     * 浏览量
     */
    private int pageView;
    /**
     * 收藏量
     */
    private int collection;
    /**
     * 关注量
     */
    private int follow;
    /**
     * 招标项目个数
     */
    private int bids;
    /**
     * 总货值
     */
    private int gross;




    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getNameOnceUsed() {
        return nameOnceUsed;
    }

    public void setNameOnceUsed(String nameOnceUsed) {
        this.nameOnceUsed = nameOnceUsed;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public int getIndustryId() {
        return industryId;
    }

    public void setIndustryId(int industryId) {
        this.industryId = industryId;
    }

    public String  getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public int getManagementStatus() {
        return managementStatus;
    }

    public void setManagementStatus(int managementStatus) {
        this.managementStatus = managementStatus;
    }

    public int getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(int createdDate) {
        this.createdDate = createdDate;
    }

    public BigDecimal getCapital() {
        return capital;
    }

    public void setCapital(BigDecimal capital) {
        this.capital = capital;
    }

    public BigDecimal getCapitalPaid() {
        return capitalPaid;
    }

    public void setCapitalPaid(BigDecimal capitalPaid) {
        this.capitalPaid = capitalPaid;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getIdentityCode() {
        return identityCode;
    }

    public void setIdentityCode(String identityCode) {
        this.identityCode = identityCode;
    }

    public String getRegisterNo() {
        return registerNo;
    }

    public void setRegisterNo(String registerNo) {
        this.registerNo = registerNo;
    }

    public int getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(int organizationId) {
        this.organizationId = organizationId;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(int approvalDate) {
        this.approvalDate = approvalDate;
    }

    public String getAgency() {
        return agency;
    }

    public void setAgency(String agency) {
        this.agency = agency;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public String getBusinessTermBegin() {
        return businessTermBegin;
    }

    public void setBusinessTermBegin(String businessTermBegin) {
        this.businessTermBegin = businessTermBegin;
    }

    public String getBusinessTermEnd() {
        return businessTermEnd;
    }

    public void setBusinessTermEnd(String businessTermEnd) {
        this.businessTermEnd = businessTermEnd;
    }

    public String getAddress() {
        return address;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public int getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(int deletedAt) {
        this.deletedAt = deletedAt;
    }

    public int getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(int createdAt) {
        this.createdAt = createdAt;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }

    public int getPageView() {
        return pageView;
    }

    public void setPageView(int pageView) {
        this.pageView = pageView;
    }

    public int getCollection() {
        return collection;
    }

    public void setCollection(int collection) {
        this.collection = collection;
    }

    public int getFollow() {
        return follow;
    }

    public void setFollow(int follow) {
        this.follow = follow;
    }

    public int getBids() {
        return bids;
    }

    public void setBids(int bids) {
        this.bids = bids;
    }

    public int getGross() {
        return gross;
    }

    public void setGross(int gross) {
        this.gross = gross;
    }
}